<script type="text/javascript">
	var myAnswers = new Array();
</script>

<?php echo $form->create('Question', array('action'=>'add'));?>

<fieldset>
<legend>Add New Question</legend>
<table>
	<tr><td><?php echo $form->input('name');?></td></tr>
	<tr><td><?php echo $form->input('Questiongroup', array('label'=>'Question Group'));?></td></tr>
	<tr><td><?php echo $form->input('answertype_id', array('label'=>'Type Of Answer'));?></td></tr>
	<tr><td><?php echo $form->input('question');?></td></tr>
	<tr><td><?php echo $form->input('random_answers', array('label'=>'Randomise Answers'));?></td></tr>
</table>
</fieldset>

<fieldset>
<legend>Answers</legend>
<div id="smalltext">
<a id="minus"><img src="/img/minus.png" border="0" valign="center" alt="Change Answer Order"></a>&nbsp;
<a id="plus"><img src="/img/plus.png" border="0" valign="center" alt="Change Answer Order"></a></div>
<div id="output"></div>
<?php echo $form->end('Add Question'); ?>
</fieldset>
